.class public iwfv_1
.super java/lang/Object

.method public static maxarray([II)I
.limit stack 20
.limit locals 20
aload_0
iconst_0
iaload
istore_2

iconst_1
istore_3

loop0:

iload_3
iload_1
if_icmpge loop0_end

iload_2
aload_0
iload_3
iaload
if_icmpge loop2_end

aload_0
iload_3
iaload
istore_2

loop2_end:

iload_3
iconst_1
iadd
istore_3

goto loop0

loop0_end:

ldc "max: "
iload_2
invokestatic io/println(Ljava/lang/String;I)V

iload_2
ireturn
.end method

.method public static main([Ljava/lang/String;)V
.limit stack 20
.limit locals 20
bipush 10
newarray int
astore_0

iconst_0
istore_1

loop3:

iload_1
bipush 10
if_icmpge loop3_end

aload_0
iload_1
iload_1
iastore
iload_1
iconst_1
iadd
istore_1

goto loop3

loop3_end:

aload_0
bipush 10
invokestatic iwfv_1/maxarray([II)I

istore_2

ldc "max: "
iload_2
invokestatic io/println(Ljava/lang/String;I)V

return
.end method
